//
//  UIlable+Extension.swift
//  swift微博项目
//
//  Created by huodian on 16/9/23.
//  Copyright © 2016年 huodian. All rights reserved.
//

import UIKit

extension UILabel{
    
    
    convenience init(title:String,font:CGFloat,corlor:UIColor) {
        
        self.init()
        
      
        
        self.text = title
        
        self.font = UIFont.systemFont(ofSize: font)
        
        self.numberOfLines = 0
        
        self.textColor = corlor
        
        self.sizeToFit()
        
        
        
    }
    
    
    
    
    
    
    
}
